package cn.tedu.hospitalqd.pojo.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.stereotype.Repository;

import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.util.Date;
@Data

public class GuideAddNewDTO implements Serializable {
    @ApiModelProperty(value = "就医指南创建时间", required = true, example = "就医指南创建时间")
    @NotNull(message = "必须提交就医指南创建时间")
    private Date gAddtime;

    @ApiModelProperty(value = "标题", required = true,example = "患者账号")
    @NotNull(message = "必须提交标题")
    private String gTitle;

    @ApiModelProperty(value = "简介", required = true,example = "患者账号")
    @NotNull(message = "必须提交简介")
    private String gIntro;

    @ApiModelProperty(value = "发布时间", required = true,example = "患者密码")
    @NotNull(message = "必须提交发布时间")
    private Date gRtime;

    @ApiModelProperty(value = "封面", required = true,example = "患者姓名")
    @NotNull(message = "必须提交封面")
    private String gTwitter;


    @ApiModelProperty(value = "内容", required = true,example = "内容")
    @NotNull(message = "必须提交内容")
    private String gMatter;


    @ApiModelProperty(value = "最近点击时间", required = true,example = "患者年龄")
    @NotNull(message = "必须提交最近点击时间")
    private Date gClicktime;

    @ApiModelProperty(value = "点击次数", required = true,example = "点击次数")
    @NotNull(message = "必须提交点击次数")
    private Long gClicknum;

}
